﻿using AutoMapper;
using SXFramWork.Model;

namespace SXFramWork.Service
{
    public class MapperConfig : Profile
    {
        public MapperConfig()
        {
            CreateMap<SysPermissionEntity, UserMenu>();

            CreateMap<MenuAddModel, SysPermissionEntity>();

            CreateMap<MenuUpdateModel, SysPermissionEntity>();
        }
    }
}
